﻿namespace Deppton.Mobile.Views
{
    using System;

    public partial class EnterCredentialsForm : DepptonForm
    {
        public EnterCredentialsForm()
        {
            this.InitializeComponent();
        }

        public string UserName
        {
            get
            {
                return this.UserNameTextBox.Text;
            }
        }

        public string Password
        {
            get
            {
                return this.PasswordTextBox.Text;
            }
        }

        private void ContinueMenuItemClick(object sender, EventArgs e)
        {
            this.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.Close();
        }

        private void BackMenuItemClick(object sender, EventArgs e)
        {
            this.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.Close();
        }
    }
}